package com.example.network;

import com.example.network.javaBeans.Book;
import com.example.network.javaBeans.loginBean;
import com.example.network.javaBeans.yzjyinfo;
import com.example.network.javaBeans.yzjystudent;

import java.util.List;

import retrofit2.Call;
import retrofit2.Response;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by zhaoyulu_sx on 2017/7/28.
 */

public interface RetrofitService {
    @GET("yzjyinfo")
    Call<List<yzjyinfo>> getyzjyinfo();

    @POST("yzjyinfo")
    Call<List<yzjyinfo>> getVideoPic(@Query("id") String name);

    @GET("yzjystudent")
    Call<List<yzjystudent>> getYzjystudent(@Query("flag") String flag,
                                     @Query("usrn")String usrn,
                                     @Query("password")String password);
}